package com.story.web.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class AdminJspController extends BaseController {
	@RequestMapping("/")
	public String index(){		
		return "manager/index";
	}
	@RequestMapping("/listAdmins")
	public String listAdmins1(){
		return "manager/listAdmins";
	}
	@RequestMapping("/registe")
	public String registe(){
		return "manager/registe";
	}
	@RequestMapping("/login")
	public String login(){
		return "manager/login";
	}
	@RequestMapping("/listOnlineUsers")
	public Object online(){
		return "manager/listOnlineUsers";
	}
	@RequestMapping("/listUsers")
	public String listUsers(){	
		return "manager/listUsers";		
	}
	@RequestMapping("/addAdminPage")
	public String addAdminPage(){
		return "manager/addAdminPage";
	}
}
